import { IsString, IsNotEmpty ,IsEmail} from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';
export class ForgetPasswordSendCodeDto {
    @ApiProperty()
    @IsString()
    @IsEmail()
    @IsNotEmpty({ message: 'mail 不能为空' })
    readonly email: string;
}